package com.teaut.dota.hider.repository;

import com.teaut.dota.hider.entity.UserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface UserInfoRepository extends JpaRepository<UserEntity, Long>, JpaSpecificationExecutor<UserEntity> {
  Optional<UserEntity> findByUsername(String username);
}